core: Add ostree_commit_get_object_sizes API
authorDan Nicholson <nicholson@endlessm.com>
Tue, 21 Jan 2020 02:54:00 +0000 (19:54 -0700)
committerDan Nicholson <nicholson@endlessm.com>
Tue, 21 Jan 2020 03:46:29 +0000 (20:46 -0700)
commit260bcd11938be8fbe49846eff913206e5df4168a
tree7946386a88e06507ef507925cc50ab515af52ed7
parentfcbb453443c4f22e8621c8593877ab775e5a5884
core: Add ostree_commit_get_object_sizes API

This function parses the object listing in the `ostree.sizes` metadata
and returns an array of `OstreeCommitSizesEntry` structures.

Unfortunately, for reasons I don't understand, the linker wants to
resolve `_ostree_read_varuint64` from `ostree-core.c` even though it's
not used by `test-checksum.c` at all.
Makefile-tests.am
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-core-private.h
src/libostree/ostree-core.c
src/libostree/ostree-core.h
src/libostree/ostree-repo-private.h